/**
 * 公共的配置
 */

import Vue from 'vue';
import "@/assets/css/init.scss"; //初始化样式
import './lib-flexible/lib-flexible.js'; //阿里移动端适配方案
import '@/assets/iconfont/iconfont.css'; //阿里iconfont
import 'vant/lib/index.css'; //vant ui
import { Loading, Toast, Dialog, Swipe, SwipeItem, ActionSheet, DatetimePicker, Overlay, } from 'vant'; //vant ui
import api from '@/api/api'; //接口请求

//vant - 按需引入 减轻打包体积
Vue.use(Loading).use(Toast).use(Dialog).use(Swipe).use(SwipeItem).use(ActionSheet).use(DatetimePicker).use(Overlay);

Vue.prototype.$api = api; //公共的请求